export default {
    namespaced:true,
    state(){
        return {
            userinfo: null
        }
    },
    mutations:{
        setUserinfo(state,data){
            state.userinfo = data;
        },
        removeUserinfo(state){
            state.userinfo = null;
            localStorage.removeItem("userinfo")
        }
    },
    getters: {},
    actions: {},

}